loans-api icon

loans-api

(0 reviews)

create collateral

Description: This endpoint is used to create collateral based on the below json request.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization

Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id

Paramaters:

URI Params: Na

Query Params: NA

Content-type: application/json

Mulesoft Request

To use the service to create collateral, the value in the arrangement field should be "NEW"

{
  "customerId": "2058005.38",
  "collateralType": "1",
  "currency": "JOD",
  "country": "JO",
  "nominalValue": "100T",
  "executionValues": "100T",
  "reviewDateFrequency": "M1201",
  "expiryDate": "20220225",
  "collateralCode": "1"
}

Mulesoft Response In Case Of Create:

Success Response: (200)

 {
  "status": {
      "success": "true",
      "code": "200",
      "arabicMessage": "تمت العملية بنجاح",
      "englishMessage": "The Operation has been Successfully Completed"
  },
   "response": {
    "collateralReference": "2058005.38.6",
    "valueDate": "20210126",
    "status": "CUR",
    "override": [
      ""
    ]
  }
}

Reviews